package top.chukongxiang.dubboboot.simple.userservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.chukongxiang.dubboboot.simple.common.model.entity.user.User;

/**
 * @author 楚孔响
 * @version 1.0
 * @date 2021/12/11 21:17
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户名查询用户
     * @param username 用户名
     * @return 用户实体
     */
    User selectInfoByUsername(String username);

}
